package cn.gson.crm.model.mapper;

import cn.gson.crm.model.pojos.StockDetails;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StockaMapper {
    //查询产品是否存在
    public List<StockDetails>  selectkucun(@Param("color")String color,@Param("danwei") String danwei,@Param("size") String size,@Param("name") String name);
    public List<StockDetails>  selectkucun2(String name);
    //修改产品数量
    public void updatekucun(@Param("shul") Long shul,@Param("id") Long id);
    public List<StockDetails> selectkucunsy();
    public List<StockDetails> selectkucunsywhere(String where);
}
